home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / C-D / DeveloperStax.cpt / Developer Stack 1.2r / card_32848.txt < prev    next >
Text File  |  1989-02-26  |  1KB  |  35 lines

  1. -- card: 32848 from stack: in.2r
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3837
  5. -- name: RxMIDI
  6.  
  7.  
  8. -- part contents for background part 5
  9. ----- text -----
  10. RxMIDI
  11.  
  12. -- part contents for background part 6
  13. ----- text -----
  14. RxMIDI is an XFCN that gets MIDI data (up to count bytes, decimal) in hex, if any are available.  
  15.  
  16. Here are a few XCMDs to implement simple MIDI communication via a standard MIDI interface on the modem port.  Please let me hear your thoughts.  If there is interest in a full featured HyperMIDI interface with MIDI event filtering, time stamping, sequence record and playback and save to file, etc., let me know.
  17. Nigel J. Redmon     
  18. CIS: 72736,753    
  19. PAN: NIGELR
  20.  
  21. See also InitMidi*, ResetMidi*, and TxMidi*
  22.  
  23.  
  24.  
  25. -- part contents for background part 7
  26. ----- text -----
  27. Syntax:
  28.  
  29. RxMIDI([<count>])
  30.  
  31. If count is omitted, 1 is assumed.  Note that this function does not wait for count bytes, but asking for a bunch gives them to you faster than making HyperCard go through the overhead of repeatedly asking for a single byte.  If no bytes are available, null is returned.  If count is "f[lush]", the receive queue gets flushed.  Active sense bytes are filtered by the interrupt handler (so your DX7 wont fill the buffers up with FE's).  Ex.: put RxMIDI(16) into myString
  32.  
  33. -- part contents for background part 10
  34. ----- text -----
  35. 29